package day03;

public class MainTest9 {
    public static void main(String[] args) {
        //鸡 ，兔同笼 共35个头 94只脚

        for (int ji = 0;ji<=35;ji++){
            if (ji*2+(35-ji)*4==94){
                System.out.println("鸡有："+ji);
                System.out.println("兔有："+(35-ji));
            }
        }
    }
}
